home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / DEMONSTR / MATHVIEW.ZIP / HANNING.M < prev    next >
Text File  |  1993-03-23  |  187b  |  11 lines

  1. function y = hanning(n)
  2. %y=hanning(n)  creates Hanning window
  3. %n - number of points
  4.  
  5. %       S.Halevy 7/31/92
  6. %       Copyright (c) 1992 by the MathWizards
  7.  
  8. y = wsina(n,2).';
  9.  
  10.  
  11.